home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
mx
/
collections
/
ItemResponder.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
890b
|
39 lines
package mx.collections
{
import mx.core.mx_internal;
import mx.rpc.IResponder;
use namespace mx_internal;
public class ItemResponder implements IResponder
{
mx_internal static const VERSION:String = "3.0.0.0";
private var _faultHandler:Function;
private var _token:Object;
private var _resultHandler:Function;
public function ItemResponder(param1:Function, param2:Function, param3:Object = null)
{
super();
_resultHandler = param1;
_faultHandler = param2;
_token = param3;
}
public function result(param1:Object) : void
{
_resultHandler(param1,_token);
}
public function fault(param1:Object) : void
{
_faultHandler(param1,_token);
}
}
}